package com.graden.background.repository.sysmenu;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.graden.background.repository.sysmenu.entity.SysMenu;
import com.graden.background.repository.sysmenu.entity.SysMenuNode;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  系统菜单Mapper 接口
 * </p>
 *
 * @author zjf
 * @since 2019-03-21
 */
@Mapper
public interface SysMenuMapper extends BaseMapper<SysMenu> {

	List<SysMenuNode> getNodeTree();

	List<SysMenuNode> getNodeTreeByOnlyShow();
}
